<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <!-- template designed by Marco Von Ballmoos -->
        <title>Docs For Class Template</title>
        <link rel="stylesheet" href="../media/stylesheet.css" />
        <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
    </head>
    <body>
        <div class="page-body">			
            <h2 class="class-name"><img src="../media/images/Class_logo.png"
                                        alt=" Class"
                                        title=" Class"
                                        style="vertical-align: middle"> Template - 模板类</h2>

            <a name="sec-description"></a>
            <div class="info-box">
                <div class="info-box-title">Template类描述</div>
                <div class="nav-bar">
                    <span class="disabled">描述</span> |
                    <a href="#sec-var-summary">变量</a> (<a href="#sec-vars">详情</a>)
                    |											<a href="#sec-method-summary">方法</a> (<a href="#sec-methods">详情</a>)

                </div>
                <div class="info-box-body">
                    <!-- ========== Info from phpDoc block ========= -->
                    <p class="short-description">Template类</p>
                    <p class="description"><p>本程序主要作用是把Controller中取得的数据放入页面以及渲染页面。</p></p>
                    <ul class="tags">
                        <li><span class="field">author:</span> 张旭刚</li>
                        <li><span class="field">version:</span> v1.0 beta</li>
                        <li><span class="field">copyright:</span> Copyright (c) ink工作室 (http://www.inkphp.com)</li>
                    </ul>
                    <p class="notes">
                        Located in <a class="field" href="_core---Base---Template.class.php.html">/core/Base/Template.class.php</a> (line <span class="field">12</span>)
                    </p>


                    <pre></pre>

                </div>
            </div>



            <a name="sec-var-summary"></a>
            <div class="info-box">
                <div class="info-box-title">变量摘要</span></div>
                <div class="nav-bar">
                    <a href="#sec-description">描述</a> |
                    <span class="disabled">变量</span> (<a href="#sec-vars">详情</a>)
                    | 
                    <a href="#sec-method-summary">方法</a> (<a href="#sec-methods">详情</a>)

                </div>
                <div class="info-box-body">
                    <div class="var-summary">
                        <div class="var-title">
                            <img src="../media/images/Variable.png" alt=" " />
                            <span class="var-type">mixed</span>
                            <a href="#$tplVars" title="details" class="var-name">$tplVars</a>
                        </div>
                    </div>
                </div>
            </div>

            <a name="sec-method-summary"></a>
            <div class="info-box">
                <div class="info-box-title">方法摘要</span></div>
                <div class="nav-bar">
                    <a href="#sec-description">描述</a> |
                    <a href="#sec-var-summary">变量</a> (<a href="#sec-vars">详情</a>)

                    |
                    <span class="disabled">方法</span> (<a href="#sec-methods">详情</a>)
                </div>
                <div class="info-box-body">			
                    <div class="method-summary">
                        <div class="method-definition">
                            <img src="../media/images/Constructor.png" alt=" "/>
                            <span class="method-result">Template</span>
                            <a href="#__construct" title="details" class="method-name">__construct</a>
                            ()
                        </div>
                        <div class="method-definition">
                            <img src="../media/images/Method.png" alt=" "/>
                            <span class="method-result">void</span>
                            <a href="#assign" title="details" class="method-name">assign</a>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">anytype</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">null</span>])
                        </div>
                        <div class="method-definition">
                            <img src="../media/images/Method.png" alt=" "/>
                            <span class="method-result">boolean</span>
                            <a href="#createHtml" title="details" class="method-name">createHtml</a>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$dest</span>)
                        </div>
                        <div class="method-definition">
                            <img src="../media/images/Method.png" alt=" "/>
                            <span class="method-result">void</span>
                            <a href="#display" title="details" class="method-name">display</a>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>)
                        </div>
                    </div>
                </div>
            </div>		

            <a name="sec-vars"></a>
            <div class="info-box">
                <div class="info-box-title">变量</div>
                <div class="nav-bar">
                    <a href="#sec-description">描述</a> |
                    <a href="#sec-var-summary">变量</a> (<span class="disabled">详情</span>)


                    | 
                    <a href="#sec-method-summary">方法</a> (<a href="#sec-methods">详情</a>)

                </div>
                <div class="info-box-body">

                    <a name="var$tplVars" id="$tplVars"><!-- --></A>
                    <div class="oddrow">

                        <div class="var-header">
                            <img src="../media/images/Variable.png" />
                            <span class="var-title">
                                <span class="var-type">mixed</span>
                                <span class="var-name">$tplVars</span>
                                (line <span class="line-number">13</span>)
                            </span>
                        </div>

                        <!-- ========== Info from phpDoc block ========= -->
                        <ul class="tags">
                            <li><span class="field">access:</span> public</li>
                        </ul>





                    </div>

                </div>
            </div>

            <a name="sec-methods"></a>
            <div class="info-box">
                <div class="info-box-title">方法</div>
                <div class="nav-bar">
                    <a href="#sec-description">描述</a> |
                    <a href="#sec-var-summary">变量</a> (<a href="#sec-vars">详情</a>)
                    <a href="#sec-method-summary">方法</a> (<span class="disabled">详情</span>)

                </div>
                <div class="info-box-body">
                    <A NAME='method_detail'></A>
                    <a name="method__construct" id="__construct"><!-- --></a>
                    <div class="evenrow">

                        <div class="method-header">
                            <img src="../media/images/Constructor.png" />
                            <span class="method-title">Constructor __construct</span> (line <span class="line-number">17</span>)
                        </div> 

                        <!-- ========== Info from phpDoc block ========= -->
                        <ul class="tags">
                            <li><span class="field">access:</span> public</li>
                        </ul>

                        <div class="method-signature">
                            <span class="method-result">Template</span>
                            <span class="method-name">
                                __construct
                            </span>
                            ()
                        </div>



                    </div>
                    <a name="methodassign" id="assign"><!-- --></a>
                    <div class="oddrow">

                        <div class="method-header">
                            <img src="../media/images/Method.png" />
                            <span class="method-title">assign</span> (line <span class="line-number">61</span>)
                        </div> 

                        <!-- ========== Info from phpDoc block ========= -->
                        <ul class="tags">
                            <li><span class="field">access:</span> public</li>
                        </ul>

                        <div class="method-signature">
                            <span class="method-result">void</span>
                            <span class="method-name">
                                assign
                            </span>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">anytype</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">null</span>])
                        </div>

                        <ul class="parameters">
                            <li>
                                <span class="var-type">string</span>
                                <span class="var-name">$name</span><span class="var-description">: 模板变量名称</span>			</li>
                            <li>
                                <span class="var-type">anytype</span>
                                <span class="var-name">$data</span><span class="var-description">: 模板变量值</span>			</li>
                        </ul>


                    </div>
                    <a name="methodcreateHtml" id="createHtml"><!-- --></a>
                    <div class="evenrow">

                        <div class="method-header">
                            <img src="../media/images/Method.png" />
                            <span class="method-title">createHtml</span> (line <span class="line-number">36</span>)
                        </div> 

                        <!-- ========== Info from phpDoc block ========= -->
                        <ul class="tags">
                            <li><span class="field">return:</span> 输出到文件是否正确</li>
                            <li><span class="field">access:</span> public</li>
                        </ul>

                        <div class="method-signature">
                            <span class="method-result">boolean</span>
                            <span class="method-name">
                                createHtml
                            </span>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$dest</span>)
                        </div>

                        <ul class="parameters">
                            <li>
                                <span class="var-type">string</span>
                                <span class="var-name">$template</span>			</li>
                            <li>
                                <span class="var-type">string</span>
                                <span class="var-name">$dest</span>			</li>
                        </ul>


                    </div>
                    <a name="methoddisplay" id="display"><!-- --></a>
                    <div class="oddrow">

                        <div class="method-header">
                            <img src="../media/images/Method.png" />
                            <span class="method-title">display</span> (line <span class="line-number">25</span>)
                        </div> 

                        <!-- ========== Info from phpDoc block ========= -->
                        <ul class="tags">
                            <li><span class="field">access:</span> public</li>
                        </ul>

                        <div class="method-signature">
                            <span class="method-result">void</span>
                            <span class="method-name">
                                display
                            </span>
                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>)
                        </div>

                        <ul class="parameters">
                            <li>
                                <span class="var-type">string</span>
                                <span class="var-name">$template</span><span class="var-description">: 要输出的模板地址</span>			</li>
                        </ul>


                    </div>

                </div>
            </div>
        </div></body>
</html>